package com.elmcode.study.design.pro07_decorator.coffee;

import com.elmcode.study.design.pro07_decorator.Drink;

/**
 * 意大利咖啡
 */
public class Espresso extends Drink {

    public Espresso(){
        setDes("意大利咖啡");
        //初始化意大利咖啡的价格
        setPrice(66.0f);
    }

    @Override
    public float cost() {
        return super.getPrice();
    }
}
